home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / ansi / m68k / stdtypes.h < prev   
C/C++ Source or Header  |  1992-12-07  |  800b  |  41 lines

  1. /* Definitions of standard types. */
  2.  
  3. /* An implementation-defined null pointer constant. */
  4.  
  5. #ifdef _DEFINE_NULL
  6. #ifndef NULL
  7. #define NULL ((void *)0)
  8. #endif
  9. #undef _DEFINE_NULL
  10. #endif
  11.  
  12. /* The unsigned integral type of the result of the `sizeof' operator. */
  13.  
  14. #ifdef _DEFINE_SIZE_T
  15. #ifndef _SIZE_T
  16. #define _SIZE_T
  17. typedef unsigned long size_t;
  18. #endif
  19. #undef _DEFINE_SIZE_T
  20. #endif
  21.  
  22. /* An integral type whose range of values can represent distinct codes for
  23.  * all members of the largest extended character set specified among the
  24.  * supported locales. */
  25.  
  26. #ifdef _DEFINE_WCHAR_T
  27. #ifndef _WCHAR_T
  28. #define _WCHAR_T
  29. typedef unsigned short wchar_t;
  30. #endif
  31. #undef _DEFINE_WCHAR_T
  32. #endif
  33.  
  34. #ifdef _DEFINE_VA_LIST
  35. #ifndef _VA_LIST
  36. #define _VA_LIST
  37. typedef char *va_list;
  38. #endif
  39. #undef _DEFINE_VA_LIST
  40. #endif
  41.